home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
os2
/
nortutil.zip
/
src
/
TaxLaw
/
rnd.c
< prev
next >
Wrap
Text File
|
1996-08-28
|
289b
|
11 lines
/*************************************************************************
FUNCTION: RND
PURPOSE: return a random number less than n
***************************************************************************/
rnd(n)
int n;
{
return(((rand() & 0x7FFF) % n));
}